
#ifndef GRAPHICSVIEW_H
#define GRAPHICSVIEW_H

#include <QGraphicsView>

class GraphicsView : public QGraphicsView
{
    QGraphicsScene * scene;

    void wheelEvent( QWheelEvent * event );
    void drawBackground( QPainter * painter, const QRectF & rect );
    void resizeEvent( QResizeEvent * e );

public:
    GraphicsView( QGraphicsScene * scene = 0, QWidget * parent = 0 );

private:
    //void mousePressEvent(QMouseEvent *event) {}
    //void mouseReleaseEvent(QMouseEvent *event) {}
    //void mouseMoveEvent(QMouseEvent *event) {}

};

#endif // GRAPHICSVIEW_H
